package com.naza.rpc.discovery;

import com.naza.rpc.model.ServiceInstance;

import java.util.List;

/**
 * @author yl
 */
public interface Discovery {

    public List<ServiceInstance> getAll(String serviceName);

    public void monitor(String serviceName,DiscoveryListener listener);
}
